package com.ruoyi.zhmk.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员下发对象 zhmk_usersend
 * 
 * @author sxl
 * @date 2021-06-10
 */
public class ZhmkUsersend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 人员下发ID */
    private Long usersendId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 人员类型（00常驻人员 01临时人员） */
    @Excel(name = "人员类型", readConverterExp = "0=0常驻人员,0=1临时人员")
    private String userType;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phonenumber;

    /** 性别（0男 1女 2未知） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 头像路径 */
    @Excel(name = "头像路径")
    private String avatar;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setUsersendId(Long usersendId) 
    {
        this.usersendId = usersendId;
    }

    public Long getUsersendId() 
    {
        return usersendId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("usersendId", getUsersendId())
            .append("userName", getUserName())
            .append("userType", getUserType())
            .append("phonenumber", getPhonenumber())
            .append("sex", getSex())
            .append("age", getAge())
            .append("avatar", getAvatar())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
